package com.md.api.dao;

import com.md.api.entity.UserWithdrawalRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserWithdrawalRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserWithdrawalRecord record);

    UserWithdrawalRecord selectByPrimaryKey(Integer id);

    List<UserWithdrawalRecord> list(@Param("userId")String userId);

    void updateStatus(UserWithdrawalRecord withdrawalRecord);

    UserWithdrawalRecord getById(@Param("withdrawalId")String withdrawalId);
}